const Layout = () => import("@/layout/index.vue");

export default {
  path: "/product",
  name: "product",
  redirect: "/product/list",
  component: Layout,
  meta: {
    icon: "homeFilled",
    title: "商品管理",
    rank: 1
  },
  children: [
    {
      path: "/product/list",
      name: "商品列表",
      component: () => import("@/views/product/index.vue"),
      meta: {
        title: "商品列表"
      }
    },
    {
      path: "/product/category",
      name: "商品分类",
      component: () => import("@/views/product/category.vue"),
      meta: {
        title: "商品分类"
      }
    }
  ]
} as RouteConfigsTable;
